
#ifndef _LED_RESOURCE_H_
#define _LED_RESOURCE_H_

#define GROUP(x) (x>>16)
#define PIN(x) (x&0xFFFF)
#define GROUP_PIN(g, p) ((x<<16) | (p))

struct led_resource
{
    int pin;
};

struct led_resource *get_led_resource(void);

#endif